﻿using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using ZCMS.Authorization.Roles;
using ZCMS.Authorization.Users;
using ZCMS.MultiTenancy;
using ZCMS.Entities;

namespace ZCMS.EntityFrameworkCore
{
    public class ZCMSDbContext : AbpZeroDbContext<Tenant, Role, User, ZCMSDbContext>
    {
		/* Define a DbSet for each entity of the application */
		public virtual DbSet<Menu> Menus { set; get; }
		public virtual DbSet<Article> Articles { set; get; }
		public virtual DbSet<ArticleCategory> ArticleCategories { set; get; }



		public ZCMSDbContext(DbContextOptions<ZCMSDbContext> options)
            : base(options)
        {
        }
    }
}
